#task_1
sudo dd if=/dev/sda ibs=512 count=1 | hexdump -C > task_1.log

#task_9
sudo dumpe2fs /dev/sda1 | less > task_9.log